{
    "version": "2.0.0",
    "tasks": [
        {
            "label": "Run mypy",
            "type": "shell",
            "command": "python3",
            "args": ["-mmypy", "--show-column", "nemoguardrails"],
            "problemMatcher": {
                "owner": "linter",
                "fileLocation": ["relative", "${workspaceFolder}"],
                "pattern": {
                    "regexp": "^(.*):(\\d+):(\\d+):\\s+(warning|error):\\s+(.*)$",
                    "file": 1,
                    "line": 2,
                    "column": 3,
                    "severity": 4,
                    "message": 5
                }
            },
            "presentation": {
                "revealProblems": "onProblem",
                "clear": true
            },
            "group": {
                "kind": "build"
            },
            "icon": {
                "id": "gear"
            }
        }
    ]
}
